define(['module/DirectiveModule'], function(directive) {
    directive.directive('sidebar', function() {
        return {
            scope: {
                greet:'&',
                topbardata:'=',
                version:'@'
            }, 
            restrict: 'AE',
            templateUrl: 'src/scripts/template/siderBar.html',
            replace: true
        }
    });
});